package com.bdqn.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bdqn.pojo.SysUser;

public interface SysUserMapper extends BaseMapper<SysUser> {
    SysUser login(String userName,String passWord);

    Page<SysUser> getPage(Page<SysUser> page, String userName, Long roleId);

    public SysUser findUserByUsrName(String userName);
}
